package com.sx.gongzhong.adapter;


import android.content.Context;

import com.sx.gongzhong.R;
import com.sx.gongzhong.model.PublicBean;
import com.zhy.adapter.abslistview.CommonAdapter;
import com.zhy.adapter.abslistview.ViewHolder;

import java.util.List;

/**
 * Created by XZY on 2017/12/28
 * 爆料类型的adapter
 */

public class ExposureTypeAdapter extends CommonAdapter<PublicBean> {

    public ExposureTypeAdapter(Context context, int layoutId, List<PublicBean> datas) {
        super(context, layoutId, datas);
    }

    @Override
    protected void convert(ViewHolder viewHolder, PublicBean item, int position) {
        viewHolder.setText(R.id.tv_Text,item.getName());
    }
}
